\hypertarget{wire__types_8h}{}\section{wire/wire\+\_\+types.h File Reference}
\label{wire__types_8h}\index{wire/wire\+\_\+types.\+h@{wire/wire\+\_\+types.\+h}}


wireframe view code  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structwire__p}{wire\+\_\+p}
\item 
struct \hyperlink{structwire__e}{wire\+\_\+e}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{wire__types_8h_a82b0906447b00ab4a0de3e70dea1838f}{W\+I\+R\+E\+\_\+\+O\+NE}~16384 /$\ast$ 1.\+0 $\ast$/
\item 
\#define \hyperlink{wire__types_8h_adfa05d6e3bc2de299352807bbe52cf79}{W\+I\+R\+E\+\_\+\+H\+A\+LF}~(\hyperlink{wire__types_8h_a82b0906447b00ab4a0de3e70dea1838f}{W\+I\+R\+E\+\_\+\+O\+NE}/2) /$\ast$ 0.\+5 $\ast$/
\item 
\#define \hyperlink{wire__types_8h_ae89732b187eff02c0d03083d111d598e}{W\+I\+R\+E\+\_\+\+S\+EP}~32766  /$\ast$ pen up $\ast$/
\item 
\#define \hyperlink{wire__types_8h_ab77fdc8aba86e1a03e2385821e86ec31}{W\+I\+R\+E\+\_\+\+E\+ND}~32767  /$\ast$ E\+ND $\ast$/
\item 
\#define \hyperlink{wire__types_8h_aac0d606ebb0121e068fddb41f0a8a9f5}{W\+I\+R\+E\+\_\+2\+FP}(a)~( (double) (a) / (double) (\hyperlink{wire__types_8h_a82b0906447b00ab4a0de3e70dea1838f}{W\+I\+R\+E\+\_\+\+O\+NE}))
\item 
\#define \hyperlink{wire__types_8h_a6ab980e5a0d260bf5baacc41f7cabbbd}{F\+P2\+\_\+\+W\+I\+RE}(a)~((\hyperlink{wire__types_8h_ace84d5e6e326f6a52d978bd9900baee6}{wire\+\_\+t}) (\hyperlink{wire__types_8h_a82b0906447b00ab4a0de3e70dea1838f}{W\+I\+R\+E\+\_\+\+O\+NE} $\ast$ (a)))
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef short int \hyperlink{wire__types_8h_ace84d5e6e326f6a52d978bd9900baee6}{wire\+\_\+t}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
wireframe view code 

\begin{DoxyParagraph}{Copyright \copyright{} 2015 Mike Gore, G\+PL License}

\end{DoxyParagraph}
\begin{DoxyParagraph}{You are free to use this code under the terms of G\+PL}
please retain a copy of this notice in any code you use it in.
\end{DoxyParagraph}
This is free software\+: you can redistribute it and/or modify it under the terms of the G\+NU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but W\+I\+T\+H\+O\+UT A\+NY W\+A\+R\+R\+A\+N\+TY; without even the implied warranty of M\+E\+R\+C\+H\+A\+N\+T\+A\+B\+I\+L\+I\+TY or F\+I\+T\+N\+E\+SS F\+OR A P\+A\+R\+T\+I\+C\+U\+L\+AR P\+U\+R\+P\+O\+SE. See the G\+NU General Public License for more details.

You should have received a copy of the G\+NU General Public License along with this program. If not, see \href{http://www.gnu.org/licenses/}{\tt http\+://www.\+gnu.\+org/licenses/}. 

\subsection{Macro Definition Documentation}
\index{wire\+\_\+types.\+h@{wire\+\_\+types.\+h}!F\+P2\+\_\+\+W\+I\+RE@{F\+P2\+\_\+\+W\+I\+RE}}
\index{F\+P2\+\_\+\+W\+I\+RE@{F\+P2\+\_\+\+W\+I\+RE}!wire\+\_\+types.\+h@{wire\+\_\+types.\+h}}
\subsubsection[{\texorpdfstring{F\+P2\+\_\+\+W\+I\+RE}{FP2_WIRE}}]{\setlength{\rightskip}{0pt plus 5cm}\#define F\+P2\+\_\+\+W\+I\+RE(
\begin{DoxyParamCaption}
\item[{}]{a}
\end{DoxyParamCaption}
)~(({\bf wire\+\_\+t}) ({\bf W\+I\+R\+E\+\_\+\+O\+NE} $\ast$ (a)))}\hypertarget{wire__types_8h_a6ab980e5a0d260bf5baacc41f7cabbbd}{}\label{wire__types_8h_a6ab980e5a0d260bf5baacc41f7cabbbd}


Definition at line 45 of file wire\+\_\+types.\+h.

\index{wire\+\_\+types.\+h@{wire\+\_\+types.\+h}!W\+I\+R\+E\+\_\+2\+FP@{W\+I\+R\+E\+\_\+2\+FP}}
\index{W\+I\+R\+E\+\_\+2\+FP@{W\+I\+R\+E\+\_\+2\+FP}!wire\+\_\+types.\+h@{wire\+\_\+types.\+h}}
\subsubsection[{\texorpdfstring{W\+I\+R\+E\+\_\+2\+FP}{WIRE_2FP}}]{\setlength{\rightskip}{0pt plus 5cm}\#define W\+I\+R\+E\+\_\+2\+FP(
\begin{DoxyParamCaption}
\item[{}]{a}
\end{DoxyParamCaption}
)~( (double) (a) / (double) ({\bf W\+I\+R\+E\+\_\+\+O\+NE}))}\hypertarget{wire__types_8h_aac0d606ebb0121e068fddb41f0a8a9f5}{}\label{wire__types_8h_aac0d606ebb0121e068fddb41f0a8a9f5}


Definition at line 44 of file wire\+\_\+types.\+h.



Referenced by wire2fp().

\index{wire\+\_\+types.\+h@{wire\+\_\+types.\+h}!W\+I\+R\+E\+\_\+\+E\+ND@{W\+I\+R\+E\+\_\+\+E\+ND}}
\index{W\+I\+R\+E\+\_\+\+E\+ND@{W\+I\+R\+E\+\_\+\+E\+ND}!wire\+\_\+types.\+h@{wire\+\_\+types.\+h}}
\subsubsection[{\texorpdfstring{W\+I\+R\+E\+\_\+\+E\+ND}{WIRE_END}}]{\setlength{\rightskip}{0pt plus 5cm}\#define W\+I\+R\+E\+\_\+\+E\+ND~32767  /$\ast$ E\+ND $\ast$/}\hypertarget{wire__types_8h_ab77fdc8aba86e1a03e2385821e86ec31}{}\label{wire__types_8h_ab77fdc8aba86e1a03e2385821e86ec31}


Definition at line 43 of file wire\+\_\+types.\+h.



Referenced by main(), and wire\+\_\+draw().

\index{wire\+\_\+types.\+h@{wire\+\_\+types.\+h}!W\+I\+R\+E\+\_\+\+H\+A\+LF@{W\+I\+R\+E\+\_\+\+H\+A\+LF}}
\index{W\+I\+R\+E\+\_\+\+H\+A\+LF@{W\+I\+R\+E\+\_\+\+H\+A\+LF}!wire\+\_\+types.\+h@{wire\+\_\+types.\+h}}
\subsubsection[{\texorpdfstring{W\+I\+R\+E\+\_\+\+H\+A\+LF}{WIRE_HALF}}]{\setlength{\rightskip}{0pt plus 5cm}\#define W\+I\+R\+E\+\_\+\+H\+A\+LF~({\bf W\+I\+R\+E\+\_\+\+O\+NE}/2) /$\ast$ 0.\+5 $\ast$/}\hypertarget{wire__types_8h_adfa05d6e3bc2de299352807bbe52cf79}{}\label{wire__types_8h_adfa05d6e3bc2de299352807bbe52cf79}


Definition at line 41 of file wire\+\_\+types.\+h.



Referenced by main().

\index{wire\+\_\+types.\+h@{wire\+\_\+types.\+h}!W\+I\+R\+E\+\_\+\+O\+NE@{W\+I\+R\+E\+\_\+\+O\+NE}}
\index{W\+I\+R\+E\+\_\+\+O\+NE@{W\+I\+R\+E\+\_\+\+O\+NE}!wire\+\_\+types.\+h@{wire\+\_\+types.\+h}}
\subsubsection[{\texorpdfstring{W\+I\+R\+E\+\_\+\+O\+NE}{WIRE_ONE}}]{\setlength{\rightskip}{0pt plus 5cm}\#define W\+I\+R\+E\+\_\+\+O\+NE~16384 /$\ast$ 1.\+0 $\ast$/}\hypertarget{wire__types_8h_a82b0906447b00ab4a0de3e70dea1838f}{}\label{wire__types_8h_a82b0906447b00ab4a0de3e70dea1838f}


Definition at line 40 of file wire\+\_\+types.\+h.

\index{wire\+\_\+types.\+h@{wire\+\_\+types.\+h}!W\+I\+R\+E\+\_\+\+S\+EP@{W\+I\+R\+E\+\_\+\+S\+EP}}
\index{W\+I\+R\+E\+\_\+\+S\+EP@{W\+I\+R\+E\+\_\+\+S\+EP}!wire\+\_\+types.\+h@{wire\+\_\+types.\+h}}
\subsubsection[{\texorpdfstring{W\+I\+R\+E\+\_\+\+S\+EP}{WIRE_SEP}}]{\setlength{\rightskip}{0pt plus 5cm}\#define W\+I\+R\+E\+\_\+\+S\+EP~32766  /$\ast$ pen up $\ast$/}\hypertarget{wire__types_8h_ae89732b187eff02c0d03083d111d598e}{}\label{wire__types_8h_ae89732b187eff02c0d03083d111d598e}


Definition at line 42 of file wire\+\_\+types.\+h.



Referenced by main(), and wire\+\_\+draw().



\subsection{Typedef Documentation}
\index{wire\+\_\+types.\+h@{wire\+\_\+types.\+h}!wire\+\_\+t@{wire\+\_\+t}}
\index{wire\+\_\+t@{wire\+\_\+t}!wire\+\_\+types.\+h@{wire\+\_\+types.\+h}}
\subsubsection[{\texorpdfstring{wire\+\_\+t}{wire_t}}]{\setlength{\rightskip}{0pt plus 5cm}typedef short int {\bf wire\+\_\+t}}\hypertarget{wire__types_8h_ace84d5e6e326f6a52d978bd9900baee6}{}\label{wire__types_8h_ace84d5e6e326f6a52d978bd9900baee6}


Definition at line 27 of file wire\+\_\+types.\+h.

